POV-Ray : Newsgroups : povray.animations : Need help Rotating : Re: Need help Rotating Server Time
1 Jun 2024 09:17:45 EDT (-0400)
  Re: Need help Rotating  
From: Divine Wind
Date: 3 Jun 2006 13:50:00
Message: <web.4481c5a0fd2cbf883a0196460@news.povray.org>
"Greg M. Johnson" <p t e r a n d o n @ the### [at] startswithYcom>
wrote:
> Charlie wrote:
> >
> > I'm a chemist and use Povray to render my molecules and it works great.
> >
>
>
> I was trained in chemistry (uh, metallurgical engineering) and am a complete
> whiz at doing complex things with povray.  Is there like an easy 2nd
> master's thesis that's doable by solving a complex problem 'with' povray?
> Always wondered that.   Or is it like being a whiz at word processing and
> thinking therefore you could get an easy law degree.

I'm trying to make a human and this rotating thing also seems a little
dificulte to grasp. I understand that all things should first be rotated
around <0,0,0> this is is fine but...
If you have an object say an arm that is attached to something fixed then as
I understand it you should first rotate the arm, then translate it. Then
rotate the fore arm about the <0,0,0> ,or zero point, translate that, but
then rotate and translate it again as I did with the arm...
Now if I have a upper arm, lower arm, a palm, upper fingers, lower fingers,
and finger tips, that is 6 nested objects then is not the code going to
look somthing like this...

FingerTips...
rotate FingersTips
translate FingersTips
rotate LowerFingers
translate LowerFingers
rotate UpperFingers
translate UpperFingers
rotate Palm
translate Palm
rotate ForeArm
translate ForeArm
rotate UpperArm
translate UpperArm
LowerFingers...
rotate LowerFingers
translate LowerFingers
rotate UpperFingers
translate UpperFingers
rotate Palm
translate Palm
rotate ForeArm
translate ForeArm
rotate UpperArm
translate UpperArm
UpperFingers...
rotate UpperFingers
translate UpperFingers
rotate Palm
translate Palm
rotate ForeArm
translate ForeArm
rotate UpperArm
translate UpperArm
Palm...
rotate Palm
translate Palm
rotate ForeArm
translate ForeArm
rotate UpperArm
translate UpperArm
ForeArm...
rotate ForeArm
translate ForeArm
rotate UpperArm
translate UpperArm
UpperArm...
rotate UpperArm
translate UpperArm

Now as I read the sudo code that I have just written 2 things stand out in
my (small) mind.
1) This code looks S**t. So am I missing the point, as I carn't believe that
those great POV team guys would have intended this.
2) How do I use that rotate about an arbarty axis thingy in the inc files.
Or again, am I missing the point.

Sorry for any spelling mistakes I a god at spellliing.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.